import 'package:fish_redux/fish_redux.dart';

enum FixResultViewAction {
  action,
  onTapResultPic,
  onTapAddPic,
  onTapPic,
  onSubmit,
  onTapSign,
  onTapStatus,
}

class FixResultViewActionCreator {
  static Action onAction() {
    return const Action(FixResultViewAction.action);
  }

  static Action onTapResultPic(data) {
    return Action(FixResultViewAction.onTapResultPic, payload: data);
  }

  static Action onTapAddPic() {
    return const Action(FixResultViewAction.onTapAddPic);
  }

  static Action onTapPic(data) {
    return Action(FixResultViewAction.onTapPic, payload: data);
  }

  static Action onSubmit() {
    return const Action(FixResultViewAction.onSubmit);
  }

  static Action onTapSign() {
    return const Action(FixResultViewAction.onTapSign);
  }

  static Action onTapStatus(data) {
    return Action(FixResultViewAction.onTapStatus, payload: data);
  }
}
